From: Jan Beulich Date: Mon, 19 Oct 2015 10:37:18 +0000 (-0600) Subject: KVM: don't pointlessly leave KVM_COMPAT=y in non-KVM configs X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~3408^2~32 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6956d8946d5d1cb2ac913caa8d4259a4d0e00c48;p=linux-4.9.git KVM: don't pointlessly leave KVM_COMPAT=y in non-KVM configs The symbol was missing a KVM dependency. Signed-off-by: Jan Beulich Signed-off-by: Paolo Bonzini --- diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig index 9f8014dda2cf..7a79b6853583 100644 --- a/virt/kvm/Kconfig +++ b/virt/kvm/Kconfig @@ -46,7 +46,7 @@ config KVM_GENERIC_DIRTYLOG_READ_PROTECT config KVM_COMPAT def_bool y - depends on COMPAT && !S390 + depends on KVM && COMPAT && !S390 config HAVE_KVM_IRQ_BYPASS bool